﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HSDc.RingleFlow.Kernel.DBPersit.DbOrg.Dao;

namespace HSDc.RingleFlow.Kernel.DBPersit.Dao
{
    internal class OrganisationServiceDao
    {
        internal EmployeeDto RetrieveEmp(string userId)
        {
            return (new EmpDao()).GetEmployee(userId);
        }

        internal DepartmentDto RetrieveDept(string deptId)
        {
            return (new DepartmentDao()).GetDept(deptId);
        }

        internal DepartmentDto RetrieveDept(int deptId)
        {
            return (new DepartmentDao()).GetDept(deptId);
        }
    }
}
